<!DOCTYPE html>
<html lang="en">
<head>
    <title>答题</title>
    <meta charset="utf-8">
    <meta content="yes" name="apple-mobile-web-app-capable">
    <meta content="yes" name="apple-touch-fullscreen">
    <meta content="telephone=no,email=no" name="format-detection">
    <link rel="stylesheet" href="/layui/css/layui.css">
    <script src="/layui/layui.js"></script>
    <script src="/js/flexible_css.js,flexible.js.js"></script>
    <link rel="apple-touch-icon" href="/favicon.png">
    <link rel="Shortcut Icon" href="/favicon.png" type="image/x-icon">
    <link rel="stylesheet" href="/css/reset.css?rev=@@hash">
    <link rel="stylesheet" href="/css/style.css?rev=@@hash">

</head>
<body>



<div class="loading" style="background-color:#000"></div>

<div id="wrapper" class="wrapper_timer displayFlex flexSit space_betweens spaceSize dasAutoSlight unitKind allInRoll cnimaLoop bokAutoIn cnimaLoop">
    <div id="scroller" style="height: 100%;">
        <div class="dtwksBox displayFlex flexSit space_betweens spaceSize dasAutoSlight unitKind res resesx">
            <span class="timertext timertext1 nowrap displayFlex flexSit space_betweens spaceSize dasAutoSlight unitKind allInRoll absesx auto_cenp">2024年08月26日 9点00分00秒</span>
            <span class="timertext timertext2 nowrap displayFlex flexSit space_betweens spaceSize dasAutoSlight unitKind allInRoll absesx auto_cenp">2024年08月30日 17点00分00秒</span>
            <span id="now" class="timertext timertext3 nowrap displayFlex flexSit space_betweens spaceSize dasAutoSlight unitKind allInRoll absesx auto_cenp">2023年08月28日 9点00分00秒</span>
        </div>
    </div>
</div>

<script src="/js/zepto.min.js"></script>
<script src="/js/common.js"></script>
<script src="/js/iscroll.js"></script>
<script src="/js/call.js?rev=@@hash"></script>
<script src="/layui/layui.js"></script>
<script>
    function getFormattedCurrentTime() {
        const date = new Date();
        const year = date.getFullYear();
        const month = (date.getMonth() + 1).toString().padStart(2, '0');
        const day = date.getDate().toString().padStart(2, '0');
        const hours = date.getHours().toString().padStart(2, '0');
        const minutes = date.getMinutes().toString().padStart(2, '0');
        const seconds = date.getSeconds().toString().padStart(2, '0');
        return `${year}年${month}月${day}日 ${hours}点${minutes}分${seconds}秒`;
    }

    // 获取id为now的元素
    const nowElement = document.getElementById('now');

    // 更新时间的函数
    function updateTime() {
        nowElement.innerHTML = getFormattedCurrentTime();
    }

    // 每秒调用updateTime函数
    setInterval(updateTime, 1000);

    // 初始调用，确保页面加载时时间就已经更新
    updateTime();
</script>

</body>
</html>